package com.yao.shop.service;

import com.yao.shop.common.Page;
import com.yao.shop.pojo.Dto.ShopPackDto;
import com.yao.shop.pojo.ShopPack;
import com.yao.shop.pojo.vo.ShopProductPackVo;

import java.util.List;

public interface ShopPackService {
    void save(ShopPackDto shopPackDto);

    void update(ShopPackDto shopPackDto);

    Page<ShopPack> getByPage(Page<ShopPack> page);

    void delete(Long id);

    ShopPackDto getById(Long id);

    List<ShopProductPackVo> getByProductId(Long productId);
}
